﻿<phone:PhoneApplicationPage
    x:Class="WP8.Styles.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <Border Padding="12,17,0,28" Background="SkyBlue">
            <StackPanel x:Name="TitlePanel" Grid.Row="0" >
                <TextBlock Text="XAMLDEVELOPMENT.BLOGSPOT.COM" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0"/>
                <TextBlock Text="styles" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
            </StackPanel>
        </Border>

        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Grid.Resources>
                <Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}">
                    <Setter Property="Foreground" Value="{StaticResource PhoneAccentBrush}"/>
                    <Setter Property="FontSize" Value="16"/>
                </Style>
            </Grid.Resources>
            
            <StackPanel>
                <TextBlock Style="{StaticResource TextBlockStyle}" Text="Usuario"/>
                <TextBlock Text="Es un campo obligatorio"/>
                <TextBox Width="300" BorderBrush="SkyBlue"/>
                <TextBlock Text="Clave" Style="{StaticResource TextBlockStyle}" />
                <TextBox Width="300" BorderBrush="SkyBlue"/>
                <Button Content="Ingresar"/>
                <Button Content="Registrarse"/>
            </StackPanel>
        </Grid>
    </Grid>

</phone:PhoneApplicationPage>